package com.ocom.accesservice.controller;

import com.ocom.accesservice.service.PersonnelInfoService;
import com.ocom.common.vo.PersonVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @Description: TODO
 * @Author: 朱晖
 * @Date: 2022/5/30
 **/
@RestController
public class TestController {

	@Autowired
	PersonnelInfoService personnelInfoService;

	@GetMapping("/tre")
	public List<PersonVo> Sys(){
		return personnelInfoService.selectLimit(1l,3l,3);
	}
}
